package com.teamwings.ctrls.formCtrls;

import com.teamwings.common.aspect.annotation.FormControl;
import com.teamwings.common.exception.ResultException;
import com.teamwings.ctrls.Field;
import com.teamwings.ctrls.FormComponent;
import com.teamwings.ctrls.GenerateField;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.util.Map;

@FormControl(type = "cascader")
@Data
public class Cascader extends FormComponent {

    //private final String type = "cascader";
    //private final String fieldDefaultLength = "50";
    //private final String fieldType = "VARCHAR";

    public Cascader() {
        this.type = "cascader";
        this.fieldDefaultLength = "50";
        this.fieldType = "VARCHAR";
    }
}
